TARGET=TcpServer

SOURCES=main.cpp

HEADERS=Epoll.hpp Log.hpp Protocol.hpp Socket.hpp TcpServer.hpp

CC=g++

CFLAGS=-Wall -std=c++11 -I.

LDFLAGS=-lpthread

$(TARGET): $(SOURCES) $(HEADERS)
	$(CC)  -g $(CFLAGS) $(SOURCES) -o $(TARGET) $(LDFLAGS) 

.PHONY: clean
clean:
	rm -f $(TARGET)
